<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
<%@include file="../../include/include.jsp"%>
<link rel="stylesheet" type="text/css" href="${csspath}/public.css" />
<link rel="stylesheet" type="text/css" href="${csspath}/validationEngine.jquery.css" />
<script type="text/javascript" src="${jspath}/jquery/jquery-1.4.4.js"></script>
<script type="text/javascript" src="${jspath}/jquery/jquery.ui.min.js"></script>
<script type="text/javascript" src="${jspath}/jquery/jquery.blockUI.js"></script>
<script type="text/javascript" src="${jspath}/jquery/validate/jquery.validationEngine.js"></script>
<script type="text/javascript" src="${jspath}/jquery/validate/jquery.validationEngine-zh.js"></script>
<script type="text/javascript" src="${jspath}/load_layer.js"></script>
<script type="text/javascript">
$(function() {
	$("#detailForm").validationEngine();
	$("#cancel1").click(function(){
		removeLayer();
	});
	$("input[name='isApproved']").click(function(){
		if($(this).val()==2){
			$("#transferInfo").css("display","none");
		}else{
			$("#transferInfo").css("display","block");
		}
	});
});
</script>
<style type="text/css">
	
	html, body {
	overflow:auto;
}
</style>
</head>
<body>
	<form:form id="detailForm" name="detailForm" action="${webcontext}/dm/approval/approveUserGroupApplication" method="post" modelAttribute="submitDto" target="dms_inner">
		<input type="hidden" name="brandId" value="${brandId}"/>
	    <input type="hidden" name="step" value="${appDetailDto.step}"/>
	    <input type="hidden" name="approvalCategory" value="${appDetailDto.approvalCatgory}"/>
	    <input type="hidden" name="applicationId" value="${appDetailDto.applicationId}"/>
	    <form:hidden path="stepCode"/>
	    
	            <!-- blankout_div : default-hidden -->
<div class="block_div" id="shenpi_block" style="display: block">
				<div class="title">
					<span>审批</span>
				</div>
                <br/>	
                <table class="info_tab">
                	<tr>
					  <td class="label">&nbsp;</td>
					  <td class="label" style="width:130px;">
					  <form:radiobuttons cssClass="validate[required]" path="isApproved" items="${approvalResultList}"/>
					  <td  class="label">备注：</td>
					  <td colspan="2"><form:textarea path="remark" cssClass="validate[optional,length[0,255]] textareaHeight30 textareaWidth340"/></td>
				  </tr>
                </table>
			  <div class="spliter h_5"></div>
	    <table class="info_tab">
	    <core:if test="${transferData==true}">
		    <!-- <tr style="display:none;" id="transferInfo">  -->
		    <tr>
					<td></td>
					<form:hidden path="oldEmpUserCode"/>
					<form:hidden path="newEmpUserCode"/>
					<td colspan="3">此人员在其他经销商处存在积分或等级,确认转移？</td>
					<td colspan="2" align="left">
						<input type="radio" name="isTransferUser" value="1" checked="checked"/>是&nbsp;&nbsp;&nbsp;
						<input type="radio" name="isTransferUser" value="2"/>否
					</td>
			</tr>
		</core:if>
	     <tr>
	     <tr>
              <td colspan="6" class="spliterInput_Line">
		    <img src="${imagepath}/pictures_l/spliterInput_line_03.gif" width="600" height="9" />
		  </td>
            </tr>
	        <tr>
	          <td class="label">大区：</td>
	          <td>${appDetailDto.rfsName }</td>
	          <td class="label">MAC:</td>
	          <td>${appDetailDto.macName }</td>
	          <td class="label">RPC：</td>
	          <td>${appDetailDto.rpc }</td>
          </tr>
           <tr>
                      <td class="label">经销商代码：</td>
                      <td>${appDetailDto.dealerCode }</td>
                      <td class="label">经销商简称：</td>
                      <td>${appDetailDto.dealerAbbreName }</td>
                      <td class="label">&nbsp;</td>
                      <td>&nbsp;</td>
             </tr>
            <tr>
                      <td class="label">用户ID：</td>
                      <td>${appDetailDto.userCode }</td>
                      <td class="label">类型：</td>
                      <td>${appDetailDto.operationType }</td>
                    </tr>
             <tr>
             <tr>
              <td colspan="6" class="spliterInput_Line">
			    <img src="${imagepath}/pictures_l/spliterInput_line_03.gif" width="600" height="9" />
			  </td>
            </tr>
	          <tr>
	          <td class="label">员工姓名：</td>
	          <td>${appDetailDto.userName }</td>
	          <td class="label">性别：</td>
	          <td>${appDetailDto.gender }</td>
	          <td class="label">手机：</td>
              <td>${appDetailDto.mobilePhone }</td>
          </tr>
          <tr>
                      <td class="label">可导出数据：</td>
                      <td>${appDetailDto.exportdData }</td>
                      <td class="label">电子邮件：</td>
                      <td colspan="3">${appDetailDto.email }</td>
                    </tr>
	        <tr>
	          <td class="label">证件类型：</td>
	          <td>${appDetailDto.certificateType }</td>
	          <td class="label">证件号码：</td>
	          <td>${appDetailDto.certificateNo }</td>
	          <td class="label">婚姻状况：</td>
	          <td>${appDetailDto.marriage }</td>
          </tr>
	        <tr>
	          <td class="label">籍贯：</td>
	          <td>${appDetailDto.birthPlace }</td>
	          <td class="label">生日：</td>
	          <td><fmt:formatDate value="${appDetailDto.birthDate}" pattern="yyyy-MM-dd"/></td>
	          <td class="label">学历：</td>
	          <td>${appDetailDto.education }</td>
	          
          </tr>
		    <tr>
		      <td class="label">住址：</td>
		      <td colspan="3">${appDetailDto.address }</td>
               <td class="label">就业状态：</td>
	          <td>${appDetailDto.employmentStatus }</td>
	      </tr>
	      <tr>
              <td colspan="6" class="spliterInput_Line">
		    <img src="${imagepath}/pictures_l/spliterInput_line_03.gif" width="600" height="9" />
		  </td>
            </tr>
            <tr>
                      <td class="label"><p>目前岗位入职</p>
                      <p>日期：</p></td>
                      <td> <fmt:formatDate value="${appDetailDto.onboardDate}" pattern="yyyy-MM-dd"/> </td>
                      <td class="label"><p>首服务品牌</p>
                      <p>日期：</p></td>
                      <td><fmt:formatDate value="${appDetailDto.brandFirstServiceDate}" pattern="yyyy-MM-dd"/></td>
                      <td class="label"><p>是否受过品牌</p>
                        <p>培训：</p></td>
                      <td>${appDetailDto.isBrandTraining}</td>
                    </tr>
                    <tr>
                      <td class="label"><p>通过岗位培训</p>
                        <p>日期：</p></td>
                      <td><fmt:formatDate value="${appDetailDto.passTrainingDate}" pattern="yyyy-MM-dd"/></td>
                      <td class="label">是否有驾照：</td>
                      <td>${appDetailDto.hasDriverLicense}</td>
                      <td class="label">&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
	    </table>
<div class="spliter h_5"></div>              
                <div class="btn_div">
                	<input type="submit" class="btn" value="确定" id="save1"/>
                    <input type="button" class="btn" value="取消" id="cancel1"/>
                </div>
				<div class="spliter h_5"></div>
			</div>
			<!-- /blankout_div -->
	</form:form>
  </body>
</html>